projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4621c64
)
wayland: Return surface coordinates and mask in window_at_position
author
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 10 Feb 2011 18:42:59 +0000
(13:42 -0500)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 10 Feb 2011 18:42:59 +0000
(13:42 -0500)
gdk/wayland/gdkdevice-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdevice-wayland.c
b/gdk/wayland/gdkdevice-wayland.c
index 531e249a3aa53451dd562cf5cfb43dde86ec26bd..63adc6b72104d55be8de7c672097169d2686bb36 100644
(file)
--- a/
gdk/wayland/gdkdevice-wayland.c
+++ b/
gdk/wayland/gdkdevice-wayland.c
@@
-214,6
+214,9
@@
gdk_device_core_window_at_position (GdkDevice *device,
GdkWaylandDevice *wd;
wd = GDK_DEVICE_CORE(device)->device;
+ *win_x = wd->surface_x;
+ *win_y = wd->surface_y;
+ *mask = wd->modifiers;
return wd->pointer_focus;
}